package com.panshi.modules.system.mapper;

import com.panshi.modules.system.bean.BeiSysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panshi.modules.system.bean.SysRoleFunction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 角色表  Mapper 接口
 * </p>
 *
 * @author 小伍
 * @since 2020-08-07
 */
@Mapper
@Repository
public interface BeiSysRoleMapper extends BaseMapper<BeiSysRole> {

    List<BeiSysRole> queryall(@Param("uadi") int uadi);//查询角色

    void addSysRoleFunction(SysRoleFunction sysRoleFunction);//新增角色权限关系表



}
